//此模块把store整合导出给应用根实例。
import Vue from 'vue'
import Vuex from 'vuex';
import state from './state';
import mutations from './mutations';
import getters from './getters';
import actions from './actions';
Vue.use(Vuex);
const store = new Vuex.Store({
  state,
  mutations,
  getters,
  actions
});
export default store;
